<div class="modal fade " id="fundAttrModal"  role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document" style="width: 40%">
        <div class="box box-info">
            <div class="box-header with-border">
                <h3 class="box-title">属性添加</h3>
            </div>
            <form class="form-horizontal" role="form"  >
                <div class="box-body">
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="productNameLabel">属性类型:</label>
                        <div class="col-sm-8">
                            <select id="fundAttrModal_attrName" class="select2" style="width: 100%">
                                <option>产品类型</option>
                                <option>发行机构</option>
                                <option>托管机构</option>
                                <option>清算速度</option>
                                <option>是否参与估值与TA净值对比	</option>
                                <option>成立时间</option>
                                <option>初始规模</option>
                                <option>主责投资经理</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="productNameLaEbel">属性值：</label>
                        <div class="col-sm-8">
                            <input id="fundAttrModal_attrValue"  type="text" class="form-control" maxlength="10" style="width: 100%">
                        </div>
                    </div>
                </div>
                <div class="box-footer">
                    <button type="button" class="btn btn-danger pull-left" data-dismiss="modal">关闭</button>
                    <button type="button" class="btn btn-primary pull-right" onclick="saveProduct()">保存</button>
                </div>
            </form>
        </div>
    </div>
</div>
<script>

    function fundAttrModalInit() {
        //查询数据设置到修改画面对应栏位
        $("#fundAttrModal_attrName").val("");
        $("#fundAttrModal_attrValue").val("");
    }

    function saveProduct(){
        $("#fundAttrModal").modal("hide");
        toastr['success']('操作成功', '提示');
        $("#fundAttrTable").bootstrapTable("refresh") ;
    }
</script>
